package com.by.common.core.utils;

import com.by.common.core.exception.BusinessException;

public class Assert {
    //判断rs的结果 如果为0不成功 抛出异常
    public static void IS_FAILL(int rs,String msg){
        if (rs == 0)
            throw new BusinessException(msg);
    }
}
